package com.eshop.modules.shop.service;

import java.io.IOException;
import javax.servlet.http.HttpServletResponse;
import com.eshop.modules.shop.service.dto.SystemConfigDto;
import java.util.List;
import java.util.Map;
import org.springframework.data.domain.Pageable;
import com.eshop.modules.shop.service.dto.SystemConfigQueryCriteria;
import com.eshop.modules.shop.domain.SystemConfig;
import com.eshop.common.service.BaseService;

public interface SystemConfigService extends BaseService<SystemConfig>
{
    String getData(final String name);
    
    Map<String, Object> queryAll(final SystemConfigQueryCriteria criteria, final Pageable pageable);
    
    List<SystemConfig> queryAll(final SystemConfigQueryCriteria criteria);
    
    void download(final List<SystemConfigDto> all, final HttpServletResponse response) throws IOException;
    
    SystemConfig findByKey(final String store_brokerage_statu);
}
